<?
if(empty($_REQUEST['swf'])){
	require_once "lib/JsHttpRequest.php";
	$JsHttpRequest = new JsHttpRequest("windows-1251");
}
$GLOBALS['result']=&$_RESULT;

$fnm='tpl/tmp/'.$_REQUEST['fname'].'.htm';
if(!file_exists( $fnm )) $fnm='tpl/tmp/404.htm';

$GLOBALS['result']['content']= implode('', file($fnm));
?>
